package com.hainingtong.user.shiro.token;

import lombok.Getter;
import lombok.Setter;

import java.util.HashSet;
import java.util.Set;

@Getter
public enum LoginType {
    UsernamePassword,
    PhonePassword,
    EmailPassword,
    PhoneCode,
    WxLogin,
    MiniLogin;

    // 用于正则校验参数
    public final static String staticUsernamePassword = "UsernamePassword";
    public final static String staticPhonePassword = "PhonePassword";
    public final static String staticEmailPassword = "EmailPassword";
    public final static String staticPhoneCode = "PhoneCode";
    public final static String staticWxLogin = "WxLogin";
    public final static String staticMiniLogin = "MiniLogin";
}
